<template>
	<view class="content">
		<view class="header">
			<view class="box">
				<text class="iconfont icon-left" @click="go()"></text>
				<text class="title">报名公告</text>
			</view>
		</view>
		<view class="list">
			<view class="item">
				<text class="title">一级标题</text>
				<view class="lab">
					<text class="f">地址</text>
					<text class="ff">内容内容内容内容内容内容内容内容内容内容</text>
				</view>
				<view class="lab">
					<text class="f">时间</text>
					<view class="data">
						<text>起始时间：2020-04-05</text>
						<text>截止时间：2020-05-06</text>
					</view>
				</view>
				<view class="lab">
					<text class="f">内容</text>
					<text class="ff">内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容</text>
				</view>
				<view class="button">报名</view>
			</view>
			<view class="item">
				<text class="title">一级标题</text>
				<view class="lab">
					<text class="f">地址</text>
					<text class="ff">内容内容内容内容内容内容内容内容内容内容</text>
				</view>
				<view class="lab">
					<text class="f">时间</text>
					<view class="data">
						<text>起始时间：2020-04-05</text>
						<text>截止时间：2020-05-06</text>
					</view>
				</view>
				<view class="lab">
					<text class="f">内容</text>
					<text class="ff">内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容</text>
				</view>
				<view class="button">报名</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {
			go() {
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style lang="scss">
	view,
	text,
	input,
	textarea {
		box-sizing: border-box;
	}

	page {
		background: #F1F1F1;
	}

	.list {
		overflow: hidden;
		width: 100%;
		padding: 30rpx;

		.item {
			overflow: hidden;
			width: 100%;
			background-color: #fff;
			margin-bottom: 45rpx;
			padding: 55rpx 30rpx;
			border-radius: 10rpx;
			box-shadow: 3px 3px 21px 0px rgba(0, 0, 0, 0.3);

			.button {
				width: 100%;
				height: 80rpx;
				background: #153B33;
				font-size: 28rpx;
				color: #fff;
				text-align: center;
				line-height: 80rpx;
				border-radius: 6rpx;
				margin: 0 auto;
				margin-top: 50rpx;
			}

			.title {
				display: block;
				text-align: center;
				font-size: 32rpx;
				font-weight: bold;
				color: #2D2D2D;
				margin-bottom: 50rpx;
			}

			.lab {
				overflow: hidden;
				margin-bottom: 42rpx;

				.data {
					overflow: hidden;
					display: flex;
					align-items: center;
					justify-content: space-between;

					text {
						display: block;
						font-size: 23rpx;
						color: #383838;
						line-height: 35rpx;
					}
				}

				.f {
					display: block;
					font-size: 32rpx;
					font-weight: bold;
					margin-bottom: 17rpx;
					color: #2D2D2D;
				}

				.ff {
					display: block;
					font-size: 23rpx;
					color: #383838;
					line-height: 35rpx;
				}
			}
		}
	}

	.content {
		overflow: hidden;
		width: 100%;
		position: relative;

		.header {
			overflow: hidden;
			width: 100%;
			background-image: url(../../static/fawu_06.jpg);
			background-size: 100% 33rpx;
			background-repeat: no-repeat;
			background-position: bottom center;
			height: 155rpx;
			background-color: #153B33;
			position: relative;
			padding: 60rpx 0 0 0;

			.box {
				overflow: hidden;
				width: 100%;
				display: flex;
				position: relative;
				align-items: center;
				justify-content: center;

				.title {
					font-size: 28rpx;
					color: #DBAC53;
				}

				.icon-shezhi {
					position: absolute;
					right: 17rpx;
					top: 50%;
					font-size: 30rpx;
					transform: translateY(-50%);
				}

				.icon-left {
					color: #DBAC53;
					position: absolute;
					left: 17rpx;
					font-size: 35rpx;
					top: 50%;
					transform: translateY(-50%);
				}
			}
		}
	}
</style>
